package com.soyorin.order.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.Instant;

@Data
@TableName("chat")
public class Chat {
    @TableId(type = IdType.AUTO)
    private Long id;
    
    @TableField("create_time")
    private Instant createTime;
    
    @TableField("update_time")
    private Instant updateTime;
    
    // 所属订单信息
    @TableField("owner_order_id")
    private Long ownerOrderId;
}
